projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272235c
)
Remove an assertion that doesn't test Emacs invariants
author
Philipp Stephani
<phst@google.com>
Mon, 12 Jun 2017 14:37:45 +0000
(16:37 +0200)
committer
Philipp Stephani
<phst@google.com>
Mon, 12 Jun 2017 14:37:45 +0000
(16:37 +0200)
* src/emacs-module.c (module_copy_string_contents): Remove an
assertion that doesn't test Emacs invariants.
src/emacs-module.c
patch
|
blob
|
history
diff --git
a/src/emacs-module.c
b/src/emacs-module.c
index 2602398d814749a5e25ea857668aff2296abaffb..650065d74b9c0ecc2a718f7927fc91ad52695250 100644
(file)
--- a/
src/emacs-module.c
+++ b/
src/emacs-module.c
@@
-545,8
+545,6
@@
module_copy_string_contents (emacs_env *env, emacs_value value, char *buffer,
ptrdiff_t raw_size = SBYTES (lisp_str_utf8);
ptrdiff_t required_buf_size = raw_size + 1;
- eassert (length != NULL);
-
if (buffer == NULL)
{
*length = required_buf_size;